#include "widget.h"
#include "ui_widget.h"

Widget::Widget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget)
{
    ui->setupUi(this);
    QButtonGroup* buttonGroup1 = new QButtonGroup(this);
    buttonGroup1->addButton(ui->radioButton);
    buttonGroup1->addButton(ui->radioButton_2);
    buttonGroup1->addButton(ui->radioButton_3);
    buttonGroup1->addButton(ui->radioButton_4);

    QButtonGroup* buttonGroup2 = new QButtonGroup(this);
    buttonGroup2->addButton(ui->radioButton_5);
    buttonGroup2->addButton(ui->radioButton_6);
    buttonGroup2->addButton(ui->radioButton_7);
    buttonGroup2->addButton(ui->radioButton_8);

    QButtonGroup* buttonGroup3 = new QButtonGroup(this);
    buttonGroup3->addButton(ui->radioButton_11);


}

Widget::~Widget()
{
    delete ui;
}

